{% extends 'auser/base.html' %}
{% load staticfiles %}
{% block extraheader %}
            <script src="{% static 'auser/js/validate.js' %}"></script>
{% endblock %}
    {% block content %}
        <div class="registerError" style="display:none;">
        </div>
			<form class="register-form" action="#" method="post" name="register-form" target="register-iframe">
            {% csrf_token %}
				<ul class="left-form">
					<h2>New Account:</h2>
					<li>
						<input type="text" class="register-username"  name="username" placeholder="Username" required/>
						<a href="#" class="icon ticker"> </a>
						<div class="clear"> </div>
					</li> 
					<li>
						<input type="email" class="register-email" name="email" placeholder="Email" required/>
						<a href="#" class="icon ticker"> </a>
						<div class="clear"> </div>
					</li> 
					<li>
						<input type="password" class="register-password1" name="password1" placeholder="password" required/>
						<a href="#" class="icon into"> </a>
						<div class="clear"> </div>
					</li> 
					<li>
						<input type="password" class="register-password2" name="password2"  placeholder="password" required/>
						<a href="#" class="icon into"> </a>
						<div class="clear"> </div>
					</li> 
					<label class="checkbox">
                        <input type="checkbox" class="register-remember" name="checkbox" checked="">
                        <i> </i>Please s and news
                    </label>
					<input type="submit" class="register-submit" value="Create Account">
                        <a class="already-account" href="{% url 'auser:login' %}">已有账号？<strong>去登陆</strong></a>

						<div class="clear"> </div>
				</ul>
				<div class="clear"> </div>
			</form>
{#        REW:无刷新 无跳转 #}
        <iframe id="register_iframe" name="register-iframe" style="display:none;"></iframe>
	{% endblock %}
